<script lang="ts" setup>
import { ref } from 'vue'
import { useDialog, useMessage, useNotification } from 'naive-ui'
import store from '@/store'
import { useLoadingBar } from 'naive-ui'

// 向vuex注册信息提示模块
store.commit('setUseMessage', useMessage())
store.commit('setUseNotification', useNotification())
store.commit('setUseLoadingBar', useLoadingBar())
store.commit('setDialog', useDialog())
</script>

<template lang="pug">
router-view()
n-back-top(:right="100")
</template>

<style lang="scss" scoped></style>
